<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <button id="btn">点我有惊喜</button> -->
    <button class="pink">111</button>
    <!-- <button onclick="alert('欢迎你')">登录</button> -->
    <script>
        // document.getElementById('btn').onclick = function () {
        // alert('欢迎你');
        // }
        // document.getElementsByName('pink').onclick = function () {
        //     alert('哈哈哈哈或或或')
        // }
    </script>

    <!-- <script src="./01基础.js"></script> -->
</body>

</html>